package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/08/06 11:12
 */
//@Controller
//@ResponseBody
@RestController
public class JsonController {

    @RequestMapping("hello3")
    //@ResponseBody
    public BaseRespVo hello3() {
        return BaseRespVo.ok("hello json 李艮隶");
    }
}
